﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace AP.Framework.Infrastructure.Entities
{
    public class cms_ArticleCategory
    {
        public int ID { get; set; }
        [Required(ErrorMessage = "频道名称不能为空!")]
        [StringLength(255, ErrorMessage = "长度不能超过255个字符!")]
        public string Name { get; set; }
        public string Description { get; set; }
        [Range(1, 9999, ErrorMessage = "只能输入数字!")]
        public int? Sequence { get; set; }
        public bool IsDisable { get; set; }
        public string CreateBy { get; set; }
        public DateTime? CreateTime { get; set; }
        public string ModifyBy { get; set; }
        public DateTime? ModifyTime { get; set; }
    }

}
